function Hud() {
  
  
  this.envelopePartsLabel;
  this.ballastSacksLabel;
  this.ropesLabel;
  this.burnersLabel;
  this.basketsLabel;
  this.pointsLabel;
  this.levelLabel;
  
  
  this.init = function() {
    
    this.pointsLabel = new Text();
    this.pointsLabel.setPosition(860, 20);
    this.pointsLabel.setAlignment(Text.LEFT);
    this.pointsLabel.setFont("Hud");
    
    this.levelLabel = new Text();
    this.levelLabel.setPosition(860, 40);
    this.levelLabel.setAlignment(Text.LEFT);
    this.levelLabel.setFont("Hud");
     
    this.envelopePartsLabel = new Text();
    this.envelopePartsLabel.setPosition(942, 246);
    this.envelopePartsLabel.setAlignment(Text.RIGHT);
    this.envelopePartsLabel.setFont("Hud");
    
    this.ballastSacksLabel = new Text();
    this.ballastSacksLabel.setPosition(942, 326);
    this.ballastSacksLabel.setAlignment(Text.RIGHT);
    this.ballastSacksLabel.setFont("Hud");
    
    this.ropesLabel = new Text();
    this.ropesLabel.setPosition(942, 406);
    this.ropesLabel.setAlignment(Text.RIGHT);
    this.ropesLabel.setFont("Hud");
    
    this.burnersLabel = new Text();
    this.burnersLabel.setPosition(942, 486);
    this.burnersLabel.setAlignment(Text.RIGHT);
    this.burnersLabel.setFont("Hud");
    
    this.basketsLabel = new Text();
    this.basketsLabel.setPosition(942, 566);
    this.basketsLabel.setAlignment(Text.RIGHT);
    this.basketsLabel.setFont("Hud");
  };
  
  
  this.update = function() {
    
  };
  
  
  this.draw = function() {
    img.draw("hud", 0, 0);
    
    if(hero.food > 0) {
      img.drawSprite("foodBar", 142, 18, Math.round(2 * hero.food), 14, 0, 0);
    }
    if(hero.water > 0) {
      img.drawSprite("waterBar", 142, 58, Math.round(2 * hero.water), 14, 0, 0);
    }
    
    img.drawSprite("weapons", 15, 15, 80, 80, hero.weapon, 0);
    
    
    this.pointsLabel.text("POINTS:  " + hero.getPoints());
    this.pointsLabel.draw();
    
    this.levelLabel.text("LEVEL:  " + game.levelNumber);
    this.levelLabel.draw();
    
    img.drawSprite("items", 885, 205, 60, 60, 0, (hero.envelopeParts > 0 ? 1 : 0));
    this.envelopePartsLabel.text(hero.envelopeParts.toString() + "/" + config.REQUIRED_ENVELOPE_PARTS);
    this.envelopePartsLabel.draw();
    
    img.drawSprite("items", 885, 285, 60, 60, 1, (hero.ropes > 0 ? 1 : 0));
    this.ballastSacksLabel.text(hero.ropes.toString() + "/" + config.REQUIRED_ROPES);
    this.ballastSacksLabel.draw();
    
    img.drawSprite("items", 885, 365, 60, 60, 2, (hero.ballastSacks > 0 ? 1 : 0));
    this.ropesLabel.text(hero.ballastSacks.toString() + "/" + config.REQUIRED_BALLAST_SACKS);
    this.ropesLabel.draw();
    
    img.drawSprite("items", 885, 445, 60, 60, 3, (hero.burners > 0 ? 1 : 0));
    this.burnersLabel.text(hero.burners.toString() + "/" + config.REQUIRED_BURNERS);
    this.burnersLabel.draw();
    
    img.drawSprite("items", 885, 525, 60, 60, 4, (hero.baskets > 0 ? 1 : 0));
    this.basketsLabel.text(hero.baskets.toString() + "/" + config.REQUIRED_BASKETS);
    this.basketsLabel.draw();
    
  };
  
}